import type { AppRouteModule } from '/@/router/types';

import { LAYOUT } from '/@/router/constant';

const tenant: AppRouteModule = {
  path: '/advert',
  name: 'Advert',
  component: LAYOUT,
  redirect: '/advert/list',
  meta: {
    icon: 'noto:framed-picture',
    title: '广告管理',
  },
  children: [
    {
      path: 'list',
      name: 'AdvertList',
      component: () => import('/@/views/advert/list/list.vue'),
      meta: {
        title: '广告列表',
        icon: 'noto:hammer-and-pick',
      },
    },
  ],
};

export default tenant;
